package com.ruoyi.graduation.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 毕业院校信息对象 graduation_school
 *
 * @author ruoyi
 * @date 2024-11-28
 */
@Data
public class GraduationSchool extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID，自增 */
    private Long id;

    /** 消防员id */
    @Excel(name = "消防员id")
    private String firefighterId;

    /** 消防员证号 */
    @Excel(name = "消防员证号")
    private String firefighterIdCard;

    /** 毕业院校 */
    @Excel(name = "毕业院校")
    private String graduationSchoolName;

    /** 所学专业 */
    @Excel(name = "所学专业")
    private String major;

    /** 入学日期 */
    @Excel(name = "入学日期")
    private String enrollmentDate;

    /** 毕业日期 */
    @Excel(name = "毕业日期")
    private String graduationDate;
    /** 毕业日期 */
    @Excel(name = "消防员姓名")
    private String firefighterName;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFirefighterId(String firefighterId)
    {
        this.firefighterId = firefighterId;
    }

    public String getFirefighterId()
    {
        return firefighterId;
    }
    public void setFirefighterIdCard(String firefighterIdCard)
    {
        this.firefighterIdCard = firefighterIdCard;
    }

    public String getFirefighterIdCard()
    {
        return firefighterIdCard;
    }
    public void setGraduationSchoolName(String graduationSchoolName)
    {
        this.graduationSchoolName = graduationSchoolName;
    }

    public String getGraduationSchoolName()
    {
        return graduationSchoolName;
    }
    public void setMajor(String major)
    {
        this.major = major;
    }

    public String getMajor()
    {
        return major;
    }
    public void setEnrollmentDate(String enrollmentDate)
    {
        this.enrollmentDate = enrollmentDate;
    }

    public String getEnrollmentDate()
    {
        return enrollmentDate;
    }
    public void setGraduationDate(String graduationDate)
    {
        this.graduationDate = graduationDate;
    }

    public String getGraduationDate()
    {
        return graduationDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("firefighterId", getFirefighterId())
            .append("firefighterIdCard", getFirefighterIdCard())
            .append("graduationSchoolName", getGraduationSchoolName())
            .append("major", getMajor())
            .append("enrollmentDate", getEnrollmentDate())
            .append("graduationDate", getGraduationDate())
            .toString();
    }
}
